package com.xhtt.modules.task.model.car;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CarTaskUserStatus {
    private Integer userId;
    private String name;
    private String status;

    private String positionName;//职位

    private Integer teamId;
    private boolean isDisabled;//判断是否为组用户


    public boolean getIsDisabled() {
        if (teamId == null) {
            return isDisabled;
        } else {
            return true;
        }
    }
}
